package com.it.base.core.system.dept.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.it.base.common.model.BaseModel;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 字典数据表 sys_dict_data
 * 
 * @author wdh
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_dept")
public class SysDept extends BaseModel {
	private static final long serialVersionUID = 1L;

	/** 父部门id */
	@TableField(value = "parent_id")
	private String parentId;

	/** 祖级列表 */
	@TableField(value = "ancestors")
	private String ancestors;

	/** 部门名称 */
	@TableField(value = "dept_name")
	private String deptName;

	/** 显示顺序 */
	@TableField(value = "order_num")
	private int orderNum;

	/** 负责人 */
	@TableField(value = "leader")
	private String leader;

	/** 联系电话 */
	@TableField(value = "phone")
	private String phone;

	/** 部门状态（0正常 -1停用） */
	@TableField(value = "status")
	private int status;

	/** 删除标志（0代表存在 -1代表删除） */
	@TableField(value = "del_flag")
	private int delFlag;

}
